﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace WSData_RENIEC.Dominio
{
    [DataContract] 
    public class Persona
    {
        [DataMember]
        public string DNI { get; set; }
        [DataMember]
        public string ApePat { get; set; }
        [DataMember]
        public string ApeMat { get; set; }
        [DataMember]
        public string Nombre { get; set; }
        [DataMember]
        public DateTime FecNac { get; set; }

        public Persona(){}

        public Persona(string DNI, string ApePat, string ApeMat,string Nombre,DateTime FecNac)
        {
            this.DNI = DNI;
            this.ApePat = ApePat;
            this.ApeMat = ApeMat;
            this.Nombre = Nombre;
            this.FecNac = FecNac;
        }
    
    }

}